package com.trigram.dao.simple.mapper;

import com.trigram.dao.simple.entity.po.ModelEntity;
import com.trigram.dao.simple.entity.po.ModelExtPO;
import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ModelSimpleMapper {

  int deleteByPrimaryKey(BigDecimal modelid);

  int insert(ModelEntity row);

  ModelEntity selectByPrimaryKey(BigDecimal modelid);

  List<ModelEntity> selectAll();

  int updateByPrimaryKey(ModelEntity row);

  List<ModelExtPO> selectByExtAll();

}